import {ReactElement} from 'react'
interface ForwardRefRenderFunction {
    (props: {a: string}): string | null;
    displayName?: string | undefined;
    // explicit rejected with `never` required due to
    // https://github.com/microsoft/TypeScript/issues/36826
    /**
     * defaultProps are not supported on render functions
     */
    readonly defaultProps?: never | undefined;
    /**
     * propTypes are not supported on render functions
     */
    propTypes?: never | undefined;
}

const a: ForwardRefRenderFunction = () => {
    return '='
} 

// a.displayName = ""
// a.propTypes = undefined


// interface Info {
//     name: string
// }

// interface T extends Info {
//     age: number
// }


const Test: ReactElement<{a: string} > = <div></div>;






// const info: T =  {
//     name: '',
//     age: 1
// }